body{
    background-color: #fff;
}
/* 头部 */
header{
    display: flex;
    justify-content:space-between;
    line-height: 50px;
    text-align: center;
}
header span{
    width: 10%;
}
header p{
    font-size:18px; 
    font-weight: bold;
    flex: 1;
}
/* 主要内容 */
main{
    width: 100%;
    flex:1;
    overflow-y: scroll;
}
main ul{
    width: 100%;
}
main ul li{
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:10px;
    box-sizing: border-box;
    border-top:1px solid #ccc; 
    position: relative;
}
main ul li:last-child{
    border-bottom:1px solid #ccc; 
}
main ul li img{
    width: 22%;
}
main ul li>span{
    width: 16px;
    height: 16px;
    border: 1px solid #ccc;
    border-radius:10px;
    text-align: center;
    color: white; 
    background-color: white;
    outline: none;
}
.bgc{
    background-color: #e43130;
}
main ul li .con{
    width:49%;
    margin: 0 40px 0 4px;
}
main ul li .con h3{
    color: black
}
main ul li .con p{
    font-size: 12px;
    color: #999BA1;
    margin: 6px 0;
}
main ul li .con span{
    color: #E43130;
    font-size: 14px;
    font-weight: bold;
}
main ul li .numberbtn{
    align-self: flex-end;
    width: 70px;
    display: flex;
    justify-content: space-between;
    position: absolute;
    right: 10px;
    bottom: 10px;
}
main ul li .numberbtn span{
    text-align: center;
    width: 20px;
    border: 1px solid #666;
}
main ul li .numberbtn input{
    width:25px;
    border: 1px solid #666;
    text-align: center;
}
/* 底线 */
.bottom-line{
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    align-items: center;
  }
  .bottom-line .line{
    border-bottom:1px solid #ddd;
    flex:1;
    align-items: center;
    margin: 0px 5px;
  }
  .bottom-line .text{
    font-size: 12px;
    color:#333;
    margin: 0 5px;
  }
  /* 结算 */
  .settlement{
      height: 34px;
      display: flex;
      justify-content: space-between;
      line-height: 34px;
      border-top: 1px solid #ccc; 
  }
  .settlement>span{
      width: 16px;
      height: 16px;
      line-height: 16px;
      border: 1px solid #ccc;
      border-radius:10px;
      margin: 8px 0 0 10px;
      background-color: #fff;
      outline: none;
      text-align: center;
      color: white;
  }
  body .settlement .allbtn{
      background-color: #E43130;
  }
  .settlement .p1{
      flex: 1;
      margin-left: 4px;
      font-size: 14px;
  }
  .settlement .p2{
      width: 45%;
      color: #666;
      font-size:14px; 
  }
  .settlement .p2 span{
      color: #E43130;
  }
  .settlement button:last-child{
      border: 0;
      outline: none;
      background-color: #E43130;
      color: white;
  }
  /* 底部 */
#footer{
    background-color: white;
}
#footer ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}
#footer ul li{
    width: 25%;
    text-align: center;
}
#footer ul li a{
    color: #8b8b8b;
}
#footer ul li p{
    margin-top:6px;
}